package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.cultivate.entity.CourseSchedulingDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.RepairCourse;
import com.xmy.cultivate.entity.views.RecordCourseStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 排课详情 服务类
 * </p>
 *
 * @author min
 * @since 2022-08-01
 */
public interface ICourseSchedulingDetailService extends IService<CourseSchedulingDetail> {


    public abstract CourseSchedulingDetail getOneById(Long id);

    public abstract List<RecordCourseStudent> recordStudentList(Wrapper wrapper,Long schedulingId,Long gradeId,Long courseId,Long schoolId);

    public abstract List<CourseSchedulingDetail> findAll(Wrapper wrapper);

    public abstract IPage<CourseSchedulingDetail> findAllForPage(IPage<?> page,Wrapper wrapper);

    public abstract IPage<CourseSchedulingDetail> calendarList(IPage<CourseSchedulingDetail> page,Wrapper wrapper);

    public abstract List<CourseSchedulingDetail> getFindClash(Wrapper wrapper);

    public abstract List<RepairCourse> getSchedulingUnionRepair(QueryWrapper queryWrapper);

    public abstract CourseSchedulingDetail getCourseSchedulingDetailById(Long id);

    List<CourseSchedulingDetail> getCourseSchedulingDetailList(Wrapper wrapper);
}
